<!DOCTYPE html>
<html style="height: 100%">
<head>
<meta charset="UTF-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta charset="UTF-8" />
<title>系统登录</title>
<link rel="stylesheet" type="text/css"
	href="resource/iconfont/iconfont.css">
<style>
.content {
	width: 100%;
	height: 100%;
	display: table;
	user-select: text;
	text-align: center
}

.content>* {
	display: table-cell;
	vertical-align: middle;
	color: #FFFFFF;
	text-align: center
}

body {
	background-image: url("/image/bg3.jpg");
	background-size: 100% 100%;
	height: 100%
}

.inputStyle {
	height: 40px;
	width: 360px;
	color: #000000;
	font-size: 18px;
	border-radius: 7px;
	line-height: normal;
}

.buttonStyle {
	box-shadow: 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset;
	background-color: #2185D0;
	color: #FFFFFF;
	text-shadow: none;
	background-image: none;
	display: block;
	width: 100%;
	border-radius: 10em;
	font-size: 18px;
	font-weight: normal !important;
	cursor: pointer;
	display: inline-block;
	min-height: 1em;
	outline: none;
	border: none;
	vertical-align: baseline;
	font-family: "Microsoft YaHei", 'Lato', 'Helvetica Neue', Arial,
		Helvetica, sans-serif;
	margin: 0em 0.25em 0em 0em;
	padding: 0.78571429em 1.5em 0.78571429em;
	text-transform: none;
	text-shadow: none;
	font-weight: bold;
	line-height: 1em;
	font-style: normal;
	text-align: center;
	text-decoration: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.field {
	margin-top: 20px;
	height: 30px;
}

.form {
	display: inline-block
}

.message {
	width: 140px !important;
	color: red !important;
	padding-top: 20px;
}
</style>

</head>
<body>
	<script>
		if (window.top !== window.self) {
			window.top.location = window.href;
		}
	</script>
	<div class="content">
		<div class="center">
			<i class="iconfont icon-desktop"
				style="font-size: 80px; color: #F0F0F0"></i>
			<h3 style="color: #F0F0F0">北&nbsp;京&nbsp;X&nbsp;X&nbsp;X&nbsp;行
			</h3>
			<div>
				<form class="form" action="./login" name="login" method="POST">
					<div class="field">
						<input type="text" class="inputStyle" name="username"></input>
					</div>
					<div class="field">
						<input type="password" class="inputStyle" name="password"></input>
					</div>
					<div class="field">
						<button class="buttonStyle" type="submit">登 录</button>
					</div>
					<div class="message" th:text=${error}></div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>